package com.pxmeta.dynamic.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class CreateDynamicDTO {

    @ApiModelProperty("动态id")
    private Long id;

    @NotNull(message = "圈子id不能为空！")
    @ApiModelProperty(value = "圈子id")
    private Long circleId;

    @ApiModelProperty(value = "是否是ai绘画")
    private Boolean isAiDraw = false;

    @ApiModelProperty(value = "发布内容")
    private String content;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "价格")
    private Double price;

    @ApiModelProperty(value = "技能id")
    private Integer skillId;

    @ApiModelProperty(value = "价格")
    private Double originalPrice;

    @ApiModelProperty(value = "图片列表")
    private List<String> imgList;

    @ApiModelProperty(value = "视频列表")
    private List<String> videoList;

    @ApiModelProperty(value = "音频地址")
    private String audioUrl;

    @ApiModelProperty(value = "群聊用户数")
    private String chatGroupUserCount;

    @ApiModelProperty(value = "群聊名称")
    private String chatGroupName;

    @ApiModelProperty(value = "群聊头像")
    private String chatGroupAvatar;

    @ApiModelProperty(value = "群聊id")
    private String chatGroupId;

    @ApiModelProperty("所在位置")
    private String address;

    @ApiModelProperty("音频时长")
    private String audioTime;

    @ApiModelProperty("是否发布 false草稿，true发布")
    private Boolean isPublish;

    @ApiModelProperty("话题")
    private List<Long> topicIdList;

    @ApiModelProperty("提醒用户id集合")
    private List<Long> remindUserIdList;

    @NotNull(message = "查看权限不能为空！")
    @ApiModelProperty("查看权限:1所有人可见, 2本圈子可见, 3仅主页可见, 4仅陌生人可见, 5仅自己可见")
    private Integer viewPermission;
}
